package com.xqy.service;

import com.xqy.entity.UserEntity;

import java.util.List;

/**
 * description: UserService
 * date: 2020/9/22 15:13
 * author: ASUS
 * version: 1.0
 */
public interface UserService {
    
    /**
     * description: 查看所有用户 
     * version: 1.0 
     * date: 2020/9/22 15:14 
     * author: ZhouLiHao
     * 
     * @return java.util.List<com.xqy.entity.UserEntity>
     */ 
    public List<UserEntity> selectUserShow();
    /**
     * description:新增用户
     * version: 1.0 
     * date: 2020/9/22 15:14 
     * author: ZhouLiHao
     * 
     * @return 
     */
    public boolean addUser(UserEntity entity);
    
    /**
     * description:更新用户
     * version: 1.0 
     * date: 2020/9/22 15:15 
     * author: ZhouLiHao
     * 
     * @return 
     */
    public boolean updateUser(UserEntity entity);
    /**
     * description:删除用户
     * version: 1.0 
     * date: 2020/9/22 15:17 
     * author: ZhouLiHao
     * 
     * @return 
     */
    public boolean deleteUser(int[] id);
    /**
     * description: 根据id查找用户信息 
     * version: 1.0 
     * date: 2020/9/22 17:15 
     * author: ZhouLiHao
     * 
     * @return 
     */ 
    public UserEntity findone(int id);
}
